<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <div id="app">
    <div @click="toChange">{{ test }}</div>
  </div>
  <script src="//img.ismartgo.com/js/vue.min.js"></script>
  <script>
    const Vm = new Vue({
      el: "#app",
      data () {
        return {
          test: '测试'
        }
      },
      methods: {
        toChange: () => {
          console.log("toChange --- 点击事件")
          this.test = 1234
        }
      }
    })
  </script>
</body>

</html>